package com.apabi.service.elastic;

import com.fasterxml.jackson.core.JsonGenerator;
import com.fasterxml.jackson.databind.DeserializationFeature;
import com.fasterxml.jackson.databind.ObjectMapper;

public class Config {

	public static final ObjectMapper JSON_MAPPER = new ObjectMapper();

	static {
		JSON_MAPPER.configure(JsonGenerator.Feature.ESCAPE_NON_ASCII, true);
	//	JSON_MAPPER.configure(DeserializationFeature., state)
		JSON_MAPPER.configure(DeserializationFeature.FAIL_ON_UNKNOWN_PROPERTIES, false);
	}

}
